package com.ay277.htqoa.base.biz;

import com.ay277.htqoa.base.dao.UserDao;
import com.ay277.htqoa.base.entity.User;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * Created by Salery on 2016/12/9.
 */
@Service
@Transactional
public  class UserBizImpl extends BaseBiz<User,String> implements UserBiz{

    @Override
    public User exist(String username, String password) {

        return ((UserDao)getDao()).exist(username,password);
    }

}
